<?php echo $this->session->userdata('email'); ?>
<a id="a-popover" class="btn" data-placement="bottom" data-html="true" data-trigger="click" data-title="<?= lang('title_access_your_account'); ?>"><i class="icon-user"></i> Login <span class="caret"></span></a>
<div id="div-popover" class="hide popover">
	<div class="message"></div>
		<div class="input-prepend">
	  		<span class="add-on"><i class="icon icon-envelope"></i></span>
			<input type="text" name="email" placeholder="<?= lang('placeholder_user'); ?>" />
		</div>
		
		<div class="input-prepend">
		<span class="add-on"><i class="icon icon-asterisk"></i></span>
			<input type="password" name="pass" placeholder="<?= lang('placeholder_password'); ?>" onkeypress="formSubmit()" />
		</div>
		<button class="btn btn-primary" id="login" onclick="login('<?php echo base_url(); ?>')"><?=lang('btn_access')?></button>
		<button class="btn" href="#myModal" data-toggle="modal" onclick="$('#a-popover').popover('hide')"><?=lang('btn_create_account')?></button>
</div>